package com.room.mapper;

import com.room.pojo.Announ;
import com.room.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AnnounMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Announ record);

    int insertSelective(Announ record);

    Announ selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Announ record);

    int updateByPrimaryKeyWithBLOBs(Announ record);

    int updateByPrimaryKey(Announ record);

    List<Announ> getAnnounByPage(@Param("start")Integer start, @Param("size") Integer size);

    Long getAnnounCount();

    int updateAnnoun(@Param("announ")Announ announ);

    int deleteAnnounById(@Param("ids")String[] ids);



}